<?php

namespace Modules\Common\Models;

use Modules\Common\Models\Validation\EbookChaptersValidation;


class EbookChapters extends BaseModel
{
    protected $connection = 'mysql';
    protected $table = 'ebook_chapters';
    use EbookChaptersValidation;

    public function sections()
    {
        return $this->hasMany(EbookSections::class, 'chapter_id');
    }
}